package cn.bugstack.domain.strategy.service.myraffle;

import cn.bugstack.domain.strategy.model.entity.RaffleAwardEntity;
import cn.bugstack.domain.strategy.model.entity.RaffleFactorEntity;
import cn.bugstack.domain.strategy.service.IRaffleStrategy;

/**
 * TODO
 *
 * @Description
 * @Author Lx
 * @Date 2024/8/5 23:26
 **/
public class MyRaffleStrategy implements IRaffleStrategy {

    @Override
    public RaffleAwardEntity performRaffle(RaffleFactorEntity raffleFactorEntity) {
        Long strategyId = raffleFactorEntity.getStrategyId();


        //1.校验参数


        //2.前置过滤chain


        //3.抽奖



        //4.中置规则树


        //5.后置
        return null;
    }
}
